#
#  Copyright 2019 The FATE Authors. All Rights Reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#

from pyoi.util.log_utils import getLogger

LOGGER = getLogger()


class TrackerClient:
    def __init__(self):
        pass

    def log_job_metric_data(self, metric_namespace: str, metric_name: str, metrics):
        pass

    def log_metric_data(self, metric_namespace: str, metric_name: str, metrics):
        pass

    def log_metric_data_common(self, metric_namespace: str, metric_name: str, metrics, job_level=False):
        pass

    def set_job_metric_meta(self, metric_namespace: str, metric_name: str, metric_meta):
        pass

    def set_metric_meta(self, metric_namespace: str, metric_name: str, metric_meta):
        pass

    def set_metric_meta_common(self, metric_namespace: str, metric_name: str, metric_meta, job_level=False):
        pass

    def create_table_meta(self, table_meta):
        pass

    def get_table_meta(self, table_name, table_namespace):
        pass

    def save_component_output_model(self, model_buffers: dict, model_alias: str,
                                    user_specified_run_parameters: dict = None):
        pass

    def read_component_output_model(self, search_model_alias):
        pass

    def get_model_run_parameters(self):
        pass

    def log_output_data_info(self, data_name: str, table_namespace: str, table_name: str):
        pass

    def get_output_data_info(self, data_name=None):
        pass

    def log_component_summary(self, summary_data: dict):
        pass
